#include "junix.h"

int main(int argc, char **argv)
{
	if(argc==1)
	{
		fprintf(stderr,"Usage:%s strin\n", argv[0] );
		exit(EXIT_FAILURE);
	}

	fprintf(stdout,"%ld\n",strtol(argv[1],NULL,10) );

	char *e=argv[1]+strlen(argv[1]);
	fprintf(stdout,"%ld\n",strtol(argv[1],&e,10) );

	return 0;
}

